package com.pf;

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/12/12 20:30
 */
@SpringBootApplication
@Import(FdfsClientConfig.class)
//解决jmx重复注册bean问题，如果启动报错，则将该注释打开。否则可以不用打开
//@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING)
public class FastDFSApplication {
    public static void main(String[] args) {
        SpringApplication.run(FastDFSApplication.class, args);
    }
}
